package com.vdimitr.happycube.puzzle.piece;

/**
 * This class denotes whether a puzzle piece is flipped or not.
 * 
 * @author vasileios.dimitriadis
 * 
 */
public enum PuzzlePieceFlip {

	TRUE(true), FALSE(false);

	private boolean flip;

	public boolean isFlipped() {
		return this.flip;
	}

	private PuzzlePieceFlip(boolean flip) {
		this.flip = flip;
	}

	@Override
	public String toString() {
		if (isFlipped()) {
			return "Flipped";
		} else {
			return "Not_Flipped";
		}
	}
}
